package com.zut.fitness.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 私教课程列表对象 coach_class
 * 
 * @author yuanML2018
 * @date 2025-01-04
 */
@Data
public class CoachClass implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long id;

    /** 教练id */

    private Long coachId;

    /** 教练价格 */

    private BigDecimal price;

    /** 简介 */

    private String description;

    /** 好评率 */

    private BigDecimal goodReview;

    /** 累计上课数 */

    private Long classTotalNum;

    /** 标签 */

    private String tag;

    /** 评分 */

    private BigDecimal point;

    /** 是否推荐 */

    private Long ifRecommend;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
